﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CommunitySystemModel
{
    [Serializable]
    [DataContract]
    public class DownLoadFile
    {
        private string _FileName;
        [DataMember]
        public string FileName
        {
            get { return _FileName; }
            set { _FileName = value; }
        }

        private string  _DisplayName;
        [DataMember]
        public string  DisplayName
        {
            get { return _DisplayName; }
            set { _DisplayName = value; }
        }

        private byte[] _Content;
        [DataMember]
        public byte[] Content
        {
            get { return _Content; }
            set { _Content = value; }
        }

        private bool _HasFinished = false;
        [DataMember]
        public bool HasFinished
        {
            get { return _HasFinished; }
            set { _HasFinished = value; }
        }

        private int _StartPosition;
        [DataMember]
        public int StartPosition
        {
            get { return _StartPosition; }
            set { _StartPosition = value; }
        }


        private int _Lenght;
        [DataMember]
        public int Lenght
        {
            get { return _Lenght; }
            set { _Lenght = value; }
        }

        private string _PathKey;
        [DataMember]
        public string PathKey
        {
            get { return _PathKey; }
            set { _PathKey = value; }
        }
        
        
        
        
    }
}
